#! /usr/bin/python3
# -*- coding: UTF-8 -*-

if __name__ == "__main__":
	raise Exception("不支持从这里调用")

__version__ = "1.0"
__all__ = ["MouseChshPermissionModel"]

from com.mousechsh.business.lib.model.MouseChshCommonModel import MouseChshCommonModel
from com.mousechsh.common.data.MouseChshField import MouseChshForeignStringField, \
	MouseChshIntegerField


class MouseChshPermissionModel(MouseChshCommonModel):
	'''
	权限模型
	'''

	Module = MouseChshForeignStringField('Id', linked_table='Module')
	Target = MouseChshForeignStringField('PermissionTarget')
	CommonId = MouseChshForeignStringField('CommonId')
	Inherit = MouseChshIntegerField('Inherit')
	Content = MouseChshIntegerField('Content')

	class Meta:
		SchemaName = 'A_Application'
		TableName = 'T_Module'
